package com.warmheart.base.page;

import java.io.Serializable;
import java.util.List;

public class PageInfo<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    private List<T> data;

    private Pager pager;

    public PageInfo(List<T> data, Pager pager) {
        super();
        this.data = data;
        this.pager = pager;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    public Pager getPager() {
        return pager;
    }

    public void setPager(Pager pager) {
        this.pager = pager;
    }
}